package net.yihang.miaosha.redis;

public abstract class AbstractKey implements Key {

    private int expireTime;
    private String key;


    public AbstractKey(int expireTime, String key) {
        super();
        this.expireTime = expireTime;
        this.key = key;
    }

    @Override
    public int expireTime() {
        return this.expireTime;
    }

    @Override
    public String key() {
        return this.key;
    }

}
